/**index.wxss**/
view.header {
  display: flex;
  padding: 10rpx;
  image {
    width: 60rpx;
    height: 60rpx;
  }

  view.search {
    border: 1px solid #eee;
    border-radius: 30rpx;
    flex: 1;
    margin: 0 20rpx;
    font-size: 26rpx;
    text-align: center;
    line-height: 60rpx;
    color: #d43c33;
  }
}

swiper.banner {
  width: 100%;
  image {
    width: 100%;
    height: 100%;
  }
}

view.navContainer {
  display: flex;
  view.navItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    .iconfont {
      width: 100rpx;
      height: 100rpx;
      border-radius: 50%;
      text-align: center;
      line-height: 100rpx;
      background-color: rgba(240, 19, 19, 1);
      font-size: 50rpx;
      color: white;
      margin: 20rpx 0;
    }
    text {
      font-size: 26rpx;
    }
  }
}

view.recommendContainer {
  padding: 20rpx;
}

scroll-view.recommendScroll {
  display: flex;
  height: 300rpx;
  .scrollItem {
    width: 200rpx;
    margin-right: 20rpx;
    image {
      width: 200rpx;
      height: 200rpx;
      border-radius: 10rpx;
    }
    text {
      font-size: 26rpx;
      // white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }
  }
}

.topList {
  padding: 20rpx;
  swiper.topListSwiper {
    height: 400rpx;
    swiper-item {
      view.swiperItem {
        width: 96%;
        background-color: #f5f5f5;
        view.title {
          font-size: 30rpx;
          line-height: 80rpx;
        }

        view.musicItem {
          display: flex;
          image {
            width: 100rpx;
            height: 100rpx;
            border-radius: 6rpx;
          }

           text.count {
            width: 100rpx;
            height: 100rpx;
            text-align: center;
            line-height: 100rpx;
          }

          text.musicname {
            height: 100rpx;
            line-height: 100rpx;
            max-width: 400rpx;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
          }
        }
      }
    }
  }
}
